package com.test.platform.controller;

import com.test.platform.model.XTSReport;
import org.springframework.messaging.handler.annotation.MessageMapping;
import org.springframework.messaging.handler.annotation.SendTo;
import org.springframework.stereotype.Controller;

@Controller
public class XTSWebSocketController {

    @MessageMapping("/xts/status")
    @SendTo("/topic/xts/status")
    public XTSReport sendXTSStatus(XTSReport xtsReport) {
        // 这里可以添加处理逻辑
        return xtsReport;
    }
}